package com.luoran.system.domain;



import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.luoran.common.core.annotation.Excel;
import com.luoran.common.core.web.domain.BaseEntity;
import jdk.nashorn.internal.codegen.types.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 *
 * @TableName sys_car
 */
@Setter
@Getter
@Data
@EqualsAndHashCode
//忽略未标记的字段（及不需要在xlsx中显示的字段）
@ExcelIgnoreUnannotated
public class SysCar extends BaseEntity {
    /**
     *
     */
    @Excel(name = "主键")
    @ExcelProperty({"汽车信息展示", "主键"})
    private Long id;

    /**
     *
     */
    @Excel(name = "汽车编号")
    @ExcelProperty({"汽车信息展示", "汽车编号"})
    private String carNum;

    /**
     *
     */
    @Excel(name = "汽车Vin")
    @ExcelProperty({"汽车信息展示", "汽车Vin"})
    private String carVin;

    /**
     *
     */

    private Long carTid;

    /**
     *
     */
    private Long carWid;

    /**
     *
     */
    private Long carSid;

    /**
     *
     */
    private Long carJid;

    /**
     *
     */
    private Long carCid;

    /**
     *
     */
    @Excel(name = "电机编号")
    @ExcelProperty({"汽车信息展示", "电机编号"})
    private String carJnum;

    /**
     *
     */
    @Excel(name = "厂商编号")
    @ExcelProperty({"汽车信息展示", "厂商编号"})
    private String carCnum;
    @Excel(name = "车辆类型名称")
    @ExcelProperty({"汽车信息展示", "车辆类型名称"})
    private String tname;
    @Excel(name = "车辆状态")
    @ExcelProperty({"汽车信息展示", "车辆状态"})
    private String sname;
    @Excel(name = "电机厂商名称")
    @ExcelProperty({"汽车信息展示", "电机厂商名称"})
    private String djname;
    @Excel(name = "电池厂商名称")
    @ExcelProperty({"汽车信息展示", "电池厂商名称"})
    private String dcname;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getCarVin() {
        return carVin;
    }

    public void setCarVin(String carVin) {
        this.carVin = carVin;
    }

    public Long getCarTid() {
        return carTid;
    }

    public void setCarTid(Long carTid) {
        this.carTid = carTid;
    }

    public Long getCarWid() {
        return carWid;
    }

    public void setCarWid(Long carWid) {
        this.carWid = carWid;
    }

    public Long getCarSid() {
        return carSid;
    }

    public void setCarSid(Long carSid) {
        this.carSid = carSid;
    }

    public Long getCarJid() {
        return carJid;
    }

    public void setCarJid(Long carJid) {
        this.carJid = carJid;
    }

    public Long getCarCid() {
        return carCid;
    }

    public void setCarCid(Long carCid) {
        this.carCid = carCid;
    }

    public String getCarJnum() {
        return carJnum;
    }

    public void setCarJnum(String carJnum) {
        this.carJnum = carJnum;
    }

    public String getCarCnum() {
        return carCnum;
    }

    public void setCarCnum(String carCnum) {
        this.carCnum = carCnum;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getDjname() {
        return djname;
    }

    public void setDjname(String djname) {
        this.djname = djname;
    }

    public String getDcname() {
        return dcname;
    }

    public void setDcname(String dcname) {
        this.dcname = dcname;
    }

    @Override
    public String toString() {
        return "SysCar{" +
                "id=" + id +
                ", carNum='" + carNum + '\'' +
                ", carVin='" + carVin + '\'' +
                ", carTid=" + carTid +
                ", carWid=" + carWid +
                ", carSid=" + carSid +
                ", carJid=" + carJid +
                ", carCid=" + carCid +
                ", carJnum='" + carJnum + '\'' +
                ", carCnum='" + carCnum + '\'' +
                ", tname='" + tname + '\'' +
                ", sname='" + sname + '\'' +
                ", djname='" + djname + '\'' +
                ", dcname='" + dcname + '\'' +
                '}';
    }
}
